package com.lyj.mode.decorator;

/**
 * coffee基类——主体
 * @author:liyajie
 * @createTime:2022/2/24 17:39
 * @version:1.0
 */
public abstract class Coffee {
    private String desc;

    private float price;

    public abstract float cost();

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }
}
